Part Number Hot Search : 
54ACS 130T3G FQG4902 RN2402 74VHC393 NDS9410 4C01V E301C47A
Product Description
Full Text Search
 

To Download AT90PWM2B-14 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  features ? high performance, low power atmel ? avr ? 8-bit microcontroller ? advanced risc architecture ? 129 powerful instructions - mo st single clock cycle execution ? 32 x 8 general purpose working registers ? fully static operation ? up to 1 mips throughput per mhz ? on-chip 2-cycle multiplier ? data and non-volatile program memory ? 8k bytes flash of in-system programmable program memory ? endurance: 10,000 write/erase cycles ? optional boot code section with independent lock bits ? in-system programming by on-chip boot program ? true read-while-w rite operation ? 512 bytes of in-syst em programmable eeprom ? endurance: 100,000 write/erase cycles ? 512 bytes internal sram ? programming lock fo r flash program and eeprom data security ? on chip debug interface (debugwire) ? peripheral features ? two or three 12-bit high speed psc (power stage controllers) with 4-bit resolution enhancement ? non overlapping inverted pwm output pins with flexible dead-time ? variable pwm duty cycle and frequency ? synchronous update of all pwm registers ? auto stop function for event driven pfc implementation ? less than 25 hz step width at 150 khz output frequency ? psc2 with four output pins and output matrix ? one 8-bit general purpose timer/counte r with separate prescaler and capture mode ? one 16-bit general purpose timer/coun ter with separate prescaler, compare mode and capture mode ? programmable serial usart ? standard uart mode ? 16/17 bit biphase mode for dali communications ? master/slave spi serial interface ? 10-bit adc ? up to 11 single ended channels and 2 fully differential adc channel pairs ? programmable gain (5x, 10x, 2 0x, 40x on differential channels) ? internal reference voltage ? 10-bit dac ? two or three analog comparator with resistor-array to adjust comparison voltag e ? 4 external interrupts ? programmable watchdog timer with separate on-chip oscillator ? special microcontroller features ? low power idle, noise reduction, and power down modes ? power on reset and programmable brown out detection ? flag array in bit-programmable i/o space (4 bytes) 4317ks?avr?03/2013 8-bit atmel m icrocontroller with 8k bytes in-system programmable flas h at90pwm2 at90pwm3 at90pwm2b at90pwm3b summary
2 4317ks?avr?03/2013 at90pwm2/3/2b/3b ? in-system programmable via spi port ? internal calibrated rc oscillator (8 mhz) ? on-chip pll for fast pwm (32 mhz, 64 mhz) and cpu (16 mhz) ? operating voltage: 2.7v - 5.5v ? extended operating temperature: ?-40 ? c to +105 ? c 1. history this datasheet deals wit h product characteristics of at90 pw2 and at90wm3. it will be updated as soon as characterization will be done. 2. disclaimer typical values contained in this datasheet ar e based on simulations and characterization of other avr microcontrollers manufactured on the same process technology. min and max val- ues will be available after the device is characterized. product package 12 bit pwm with deadtime adc input adc diff analog compar application at 9 0 p w m 2 at 9 0 p w m 2 b so24 2 x 2 8 1 2 one fluorescent ballast at 9 0 p w m 3 at 9 0 p w m 3 b so32, qfn32 3 x 2 11 2 3 hid ballast, fluorescent ballast, motor control product revision at 9 0 p w m 2 at 9 0 p w m 3 first revision of parts, only for running production. at 9 0 p w m 2 b at 9 0 p w m 3 b second revision of parts, for all new developments. the major changes are : ? complement the pscout01, pscout11, pscout21 polarity in centered mode - see ?pscn0 & pscn1 basic waveforms in center aligned mode? on page 140. ? add the psc software triggering capture - see ?psc 0 input capture register ? picr0h and picr0l? on page 171. ? add bits to read the psc output activity - see ?psc0 interrupt flag register ? pifr0? on page 173. ? add some clock configurations - see ?device clockin g options select at90pwm2b/3b? on page 31. ? change amplifier synchonization - see ?amplifier? on page 252. and see ?? on page 254. ? correction of the errata - see ?errata? on page 351.
3 4317ks?avr?03/2013 at90pwm2/3/2b/3b 3. pin configurations figure 3-1. soic 24-pin package figure 3-2. soic 32-pin package at90pwm2/2b s oic24 1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13 (pscout00/xck/ss_a) pd0 (reset/ocd) pe0 (psci n 0/clko) pd1 (psci n 2/oc1a/miso_a) pd2 (txd/dali/oc0a/ss/mosi_a) pd3 v cc g n d (miso/pscout20) pb0 (mosi/pscout21) pb1 (oc0b/xtal1) pe1 (adc0/xtal2) pe2 (adc1/rxd/dali/icp1a/sck_a) pd4 pb7(adc4/pscout01/sck) pb6 (adc7/icp1b) pb5 (adc6/i n t2) pb4 (amp0+) pb3 (amp0-) aref ag n d a v cc pb2 (adc5/i n t1) pd7 (acmp0) pd6 (adc3/acmpm/i n t0) pd5 (adc2/acmp2) at90pwm 3 / 3 b s oic 3 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 (pscout00/xck/ss_a) pd0 (i n t3/pscout10) pc0 (reset/ocd) pe0 (psci n 0/clko) pd1 (psci n 2/oc1a/miso_a) pd2 (txd/dali/oc0a/ss/mosi_a) pd3 (psci n 1/oc1b) pc1 v cc g n d (t0/pscout22) pc2 (t1/pscout23) pc3 (miso/pscout20) pb0 (mosi/pscout21) pb1 (oc0b/xtal1) pe1 (adc0/xtal2) pe2 (adc1/rxd/dali/icp1a/sck_a) pd4 pb7(adc4/pscout01/sck) pb6 (adc7/pscout11/icp1b) pb5 (adc6/i n t2) pc7 (d2a) pb4 (amp0+) pb3 (amp0-) pc6 (adc10/acmp1) aref ag n d a v cc pc5 (adc9/amp1+) pc4 (adc 8 /amp1-) pb2 (adc5/i n t1) pd7 (acmp0) pd6 (adc3/acmpm/i n t0) pd5 (adc2/acmp2)
4 4317ks?avr?03/2013 at90pwm2/3/2b/3b figure 3-3. qfn32 (7*7 mm) package. note: the center gnd paddle has to be connected to gnd. 1 2 3 4 5 6 7 8 24 23 22 21 20 19 18 17 (pscin2/oc1a/miso_a) pd2 (txd/dali/oc0a/ss/mosi_a) pd3 (pscin1/oc1b) pc1 vcc gnd (t0/pscout22) pc2 (t1/pscout23) pc3 (miso/pscout20) pb0 pb4 (amp0+) pb3 (amp0-) pc6 (adc10/acmp1) aref agnd avcc pc5 (adc9/amp1+) pc4 (adc8/amp1-) 32 31 30 29 28 27 26 25 9 10 11 12 13 14 15 16 (mosi/pscout21) pb1 (oc0b/xtal1) pe1 (adc0/xtal2) pe2 (adc1/rxd/dali/icp1_a/sck_a) pd4 (adc2/acmp2 ) pd5 (adc3/acmpm/int0) pd6 (acmp0) pd7 (adc5/int1) pb2 pd1 (pscin0/clko) pe0 (reset/ocd) pc0 (int3/pscout10) pd0 (pscout00/xck/ss_a) pb7 (adc4/pscout01/sck) pb6 (adc7/pscout11/icp1b) pb5 (adc6/int2) pc7 (d2a) at90pwm3/3b qfn 32
5 4317ks?avr?03/2013 at90pwm2/3/2b/3b 3.1 pin descriptions table 3-1. pin out description s024 pin number so32 pin number qfn32 pin number mnemonic type name, function & alternate function 795gndpower ground: 0v reference 18 24 20 agnd power analog ground: 0v reference for analog part 684vccpower power supply: 17 23 19 avcc power analog power supply: this is the power supply voltage for analog part for a normal use this pin must be connected. 19 25 21 aref power analog reference : reference for analog converter . this is the reference voltage of the a/d converter. as output, can be used by external analog 8128pboi/o miso (spi master in slave out) pscout20 output 9139pb1i/o mosi (spi master out slave in) pscout21 output 16 20 16 pb2 i/o adc5 (analog input channel5 ) int1 20 27 23 pb3 i/o amp0- (analog differential amplifier 0 input channel ) 21 28 24 pb4 i/o amp0+ (analog differential amplifier 0 input channel ) 22 30 26 pb5 i/o adc6 (analog input channel 6) int 2 23 31 27 pb6 i/o adc7 (analog input channel 7) icp1b (timer 1 input capture alternate input) pscout11 output (see note 1) 24 32 28 pb7 i/o pscout01 output adc4 (analog input channel 4) sck (spi clock)
6 4317ks?avr?03/2013 at90pwm2/3/2b/3b na 2 30 pc0 i/o pscout10 output (see note 1) int3 7 3 pc1 i/o pscin1 (psc 1 digital input) oc1b (timer 1 output compare b) 10 6 pc2 i/o t0 (timer 0 clock input) pscout22 output 11 7 pc3 i/o t1 (timer 1 clock input) pscout23 output 21 17 pc4 i/o adc8 (analog input channel 8) amp1- (analog differential amplifier 1 input channel ) 22 18 pc5 i/o adc9 (analog input channel 9) amp1+ (analog differential amplifier 1 input channel ) 26 22 pc6 i/o adc10 (analog input channel 10) acmp1 (analog comparator 1 positive input ) 29 25 pc7 i/o d2a : dac output 1 1 29 pd0 i/o pscout00 output xck (uart transfer clock) ss_a (alternate spi slave select) 3 4 32 pd1 i/o pscin0 (psc 0 digital input ) clko (system clock output) 451pd2i/o pscin2 (psc 2 digital input) oc1a (timer 1 output compare a) miso_a (programming & alternate spi master in slave out) 562pd3i/o txd (dali/uart tx data) oc0a (timer 0 output compare a) ss (spi slave select) mosi_a (programming & alternate master out spi slave in) 12 16 12 pd4 i/o adc1 (analog input channel 1) rxd (dali/uart rx data) icp1a (timer 1 input capture) sck_a (programming & alternate spi clock) 13 17 13 pd5 i/o adc2 (analog input channel 2) acmp2 (analog comparator 2 positive input ) 14 18 14 pd6 i/o adc3 (analog input channel 3 ) acmpm reference for analog comparators int0 15 19 15 pd7 i/o acmp0 (analog comparator 0 positive input ) 2 3 31 pe0 i/o or i reset (reset input) ocd (on chip debug i/o) 10 14 10 pe1 i/o xtal1: xtal input oc0b (timer 0 output compare b) table 3-1. pin out description (continued) s024 pin number so32 pin number qfn32 pin number mnemonic type name, function & alternate function
7 4317ks?avr?03/2013 at90pwm2/3/2b/3b 1. pscout10 & pscout11 are not present on 24 pins package 4. overview the at90pwm2/2b/3/3b is a low-power cmos 8-bit microcontroller based on the avr enhanced risc architecture. by executing powerful instructions in a single clock cycle, the at90pwm2/2b/3/3b achieves throughputs approaching 1 mips per mhz allowing the system designer to optimize power consum ption versus processing speed. 11 15 11 pe2 i/o xtal2: xtal output adc0 (analog input channel 0) table 3-1. pin out description (continued) s024 pin number so32 pin number qfn32 pin number mnemonic type name, function & alternate function
8 4317ks?avr?03/2013 at90pwm2/3/2b/3b 4.1 block diagram figure 4-1. block diagram the avr core combines a rich instruction set with 32 general purpose working registers. all the 32 registers are directly connected to the arithmetic logic unit (alu), allowing two independent registers to be accessed in one single instruction executed in one clock cycle. the resulting architecture is more code efficient while achiev ing throughputs up to ten times faster than con- ventional cisc microcontrollers. the at90pwm2/2b/3/3b provides the following features: 8k bytes of in-system programmable flash with read-while-write capabilities, 512 bytes eeprom, 512 bytes sram, 53 general purpose i/o lines, 32 general purpose working registers, three power stage controllers, two flexible timer/counters with compare modes and pwm, one usart with dali mode, an 11- channel 10-bit adc with two differential input stage with programmable gain, a 10-bit dac, a programmable watchdog ti mer with internal oscillator, an spi serial port, an on-chip debug system and four software selectable power saving modes. 8kx8 flash program memory instruction register instruction decoder program counter control lines 32 x 8 general purpose registrers alu status and control i/o lines eeprom 512 bytes data bus 8-bit data sram 512 bytes direct addressing indirect addressing interrupt unit spi unit watchdog timer 3 analog comparators dac adc psc 2/1/0 timer 1 timer 0 dali usart
9 4317ks?avr?03/2013 at90pwm2/3/2b/3b the idle mode stops the cpu wh ile allowing the sram, timer/counters, spi ports and interrupt system to continue functioning. the power-down mode saves the register contents but freezes the oscillator, disabling all other chip functions until the next interrupt or hard ware reset. the adc noise reduction mode stops the cpu and all i/o modules except adc, to minimize switch- ing noise during adc conversions. in standby mode, the crystal/r esonator oscillator is running while the rest of the device is sleeping. this allows very fast start-up combined with low power consumption. the device is manufactured using atmel?s high- density nonvolatile memory technology. the on- chip isp flash allows the prog ram memory to be repr ogrammed in-system th rough an spi serial interface, by a conventional nonvolatile memory programmer, or by an on-chip boot program running on the avr core. the boot program can use any interface to download the application program in the applicatio n flash memory. software in the boot flash section will continue to run while the application flash section is updated, providing true read-while-write operation. by combining an 8-bit risc cpu with in-system self-programmable flash on a monolithic chip, the atmel at90pwm2/3 is a powerful microcontroll er that provides a highly flexible and cost effective solution to many embedded control applications. the at90pwm2/3 avr is supported with a full suite of program and system development tools including: c compilers, macro assemblers, program debugger/simulators, in-circuit emulators, and evaluation kits. 4.2 pin descriptions 4.2.1 vcc digital supply voltage. 4.2.2 gnd ground. 4.2.3 port b (pb7..pb0) port b is an 8-bit bi-directional i/o port with internal pull-up resistors (selected for each bit). the port b output buffers have symmetrical drive characteristics with both high sink and source capability. as inputs, port b pi ns that are externally pulled low will source current if the pull-up resistors are activated. the port b pins are tri-stated when a reset condition becomes active, even if the clock is not running. port b also serves the functions of various special features of the at90pwm2/2b/3/3b as listed on page 69 . 4.2.4 port c (pc7..pc0) port c is an 8-bit bi-directional i/o port with internal pull-up resistors (selected for each bit). the port c output buffers have symmetrical drive c haracteristics with bot h high sink and source capability. as inputs, port c pi ns that are externally pulled lo w will source current if the pull-up resistors are activated. the port c pins are tri-stated when a reset condition becomes active, even if the clock is not running. port c is not available on 24 pins package. port c also serves the functions of special features of the at90pwm2/2b/3/3b as listed on page 72 .
10 4317ks?avr?03/2013 at90pwm2/3/2b/3b 4.2.5 port d (pd7..pd0) port d is an 8-bit bi-directional i/o port with internal pull-up resistors (selected for each bit). the port d output buffers have symmetrical drive c haracteristics with bot h high sink and source capability. as inputs, port d pi ns that are externally pulled lo w will source current if the pull-up resistors are activated. the port d pins are tri-stated when a reset condition becomes active, even if the clock is not running. port d also serves the functions of various spec ial features of the at90pwm2/2b/3/3b as listed on page 75 . 4.2.6 port e (pe2..0) reset/ xtal1/ xtal2 port e is an 3-bit bi-directional i/o port with internal pull-up resistors (selected for each bit). the port e output buffers have symmetrical drive characteristics with both high sink and source capability. as inputs, port e pi ns that are externally pulled low will source current if the pull-up resistors are activated. the port e pins are tri-stated when a reset condition becomes active, even if the clock is not running. if the rstdisbl fuse is programmed, pe0 is used as an i/o pin. note that the electrical char- acteristics of pe0 differ from those of the other pins of port c. if the rstdisbl fuse is unprogrammed, pe0 is us ed as a reset input. a low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running. the minimum pulse length is given in table 9-1 on page 47 . shorter pulses are not guaranteed to generate a reset. depending on the clock selection fuse settings, pe1 can be used as input to the inverting oscil- lator amplifier and input to the internal clock operating circuit. depending on the clock selection fuse settings, pe2 can be used as output from the inverting oscillator amplifier. the various special features of port e are elaborated in ?alternate functions of port e? on page 78 and ?clock systems and their distribution? on page 29 . 4.2.7 avcc avcc is the supply voltage pin for the a/d conver ter. it should be externally connected to v cc , even if the adc is not used. if the ad c is used, it should be connected to v cc through a low- pass filter. 4.2.8 aref this is the analog reference pin for the a/d converter. 4.3 about code examples this documentation contains simple code examples that briefly show how to use various parts of the device. these code examples assume that the part specific header file is included before compilation. be aware that not all c compiler vendors include bit definitions in the header files and interrupt handling in c is compiler dependent. please confirm with the c compiler documen- tation for more details.
11 4317ks?avr?03/2013 at90pwm2/3/2b/3b 5. ordering information note: all packages are pb free, fully lhf note: this device can also be supplied in wafer form. please contac t your local atmel sales office for detailed ordering informa tion and minimum quantities. note: parts numbers are for shipping in sticks (so) or in tray s (qfn). these devices can also be supplied in tape and reel. plea se contact your local atmel sales office for detai led ordering information and minimum quantities. note: 16mqt = trays note: 16mq = tape and reel note: pwm2 is not recommended for new designs, use pwm2b for your developments note: pwm3 is not recommended for new designs, use pwm3b for your developments speed (mhz) power supply ordering code package operation range 16 2.7 - 5.5v at90pwm3-16sq so32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm3-16mqt qfn32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm3-16mq qfn32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm2-16sq so24 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm3b-16se so32 engineering samples 16 2.7 - 5.5v at90pwm3b-16me qfn32 engineering samples 16 2.7 - 5.5v at90pwm2b-16se so24 engineering samples 16 2.7 - 5.5v at90pwm3b-16su so32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm3b-16mu qfn32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm2b-16su so24 extended (-4 0 ? c to 105 ? c)
12 4317ks?avr?03/2013 at90pwm2/3/2b/3b 6. package information package type so24 24-lead, small outline package so32 32-lead, small outline package qfn32 32-lead, quad flat no lead
13 4317ks?avr?03/2013 at90pwm2/3/2b/3b 6.1 so24
14 4317ks?avr?03/2013 at90pwm2/3/2b/3b 6.2 so32
15 4317ks?avr?03/2013 at90pwm2/3/2b/3b 6.3 qfn32
16 4317ks?avr?03/2013 at90pwm2/3/2b/3b
17 4317ks?avr?03/2013 at90pwm2/3/2b/3b 7. errata 7.1 at90pwm2&3 rev. a (mask revision) ? pgm: pscxrb fuse ? psc: prescaler ? psc: paocna and paocnb register bits (asynchronous output control) ? psc: pevxa/b flag bits ? psc: output polarity in centered mode ? psc: output activity ?vref ?dali ? dac: register update ? dac: output spikes ? dac driver: output voltage linearity ? adc: conversion accuracy ? analog comparator: offset value ? analog comparator: output signal ? psc: autolock modes ? dali: 17th bit detection ? psc: one ramp mode with psc input mode 8 1. pgm: pscnrb fuse the use of pscnrb fuse ca n make the parallel isp fail. workaround: when pscnrb fuses are used, use the serial programming mode to load a new program version. 2. psc: prescaler the use of psc's prescaler have the following effects : it blocks the sample of psc inputs until the two first cycles following the set of psc run bit. a fault is not properly transferred to other (slave) psc. workaround : clear the prescaler pprex bit when stopping the psc (prun = 0), and set them to appropri- ate value when starting the psc (prun = 1), these bits are in the same pctl register do not use the prescaler when a fault on one psc should affect other psc?s 3. psc: paocna and paocnb register bits (asynchronous output control) these register bits are malfunctioning. workaround: do not use this feature. 4. psc: pevna/b flag bits these flags are set when a fault arises, but c an also be set again during the fault itself. workaround: don't clear these flags before the fault disappears.
18 4317ks?avr?03/2013 at90pwm2/3/2b/3b 5. psc: output polarity in centered mode in centered mode, pscoutn1 outputs are not inve rted, so they are active at the same time as pscoutn0. workaround: use an external inverter (or a driver with inverting output) to drive the load on pscoutn1. 6. psc : poacna/b output activity these register bits are not implemented in rev a. workaround: do not use this feature. 7. vref remark: to have internal vref on aref pin select an internal analog feature such as dac or adc. some stand by power consuption may be observed if vref equals avcc 8. dali some troubles on dali extension when edges are not symmetric. workaround: use an optocoupler providing symmetric edges on rx and tx dali lines (only recom- manded for software validation purpose). 9. dac: register update registers dacl & dach are not written when the dac is not enabled. workaround: enable dac with daen be fore writing in dacl & dach. to prevent an unwanted zero out- put on dac pin, enable dac output, with daoe afterwards. 10. dac : output spikes during transition between two codes, a spike may appears work around: filter spike or wait for steady state no spike appears if the 4 last signifiant bits remain zero. 11. dac driver: output voltage linearity the voltage linearity of the da c driver is limited when the dac output goes above vcc - 1v. work around: do not use avcc as vref ; internal vref gives good results 12. adc : conversion accuracy the conversion accuracy degrades when the adc clock is 1 & 2 mhz. work around: when a 10 bit conversion accuracy is required, use an adc clock of 500 khz or below. 13. analog comparator: offset value the offset value increases when the common mode voltage is above vcc - 1.5v. work around: limit common mode voltage
19 4317ks?avr?03/2013 at90pwm2/3/2b/3b 14. analog comparator: output signal the comparator output toggles at the comparator clock freq uency when the voltage differ- ence between both inputs is lowe r than the offset. this may occur when comparing signal with small slew rate. work around: this effect normally do not impact the psc, as the transition is sampled once per psc cycle be carefull when using the comparator as an interrupt source. 15. psc : autolock mode this mode is not properly handled when clkpsc is different from clk io. work around: with clkpsc equals 64/32 mh z (clkpll), use lock mode 16. dali : 17th bit detection 17th bit detection do not occurs if the signal arrives after the sampling point. workaround: use this feature only for sofware de velopment and not in field conditions 17. psc : one ramp mode with psc input mode 8 the retriggering is not properly handled in this case. work around: do not program this case. 18. psc : desactivation of outputs in mode 14 see ?psc input mode 14: fixed frequency edge retrigger psc and disactivate output? on page 156. work around: do not use this mode to desactivate output if retrigger event do not occurs during on-time. 7.2 at90pwm2b/3b ? psc : double end-of-cycle interrupt request in centered mode ? adc : conversion accuracy 1. psc : double end-of-cycle interrupt request in centered mode in centered mode, after the ?expected? end-of-cycle interrupt, a second unexpected inter- rupt occurs 1 psc cycle after the previous interrupt. work around: while cpu cycle is lower than psc clock, th e cpu sees only one interrupt request. for psc clock period greater than cpu cycle, the second interrupt request must be cleared by software. 2. adc : conversion accuracy the conversion accuracy degrades when the adc clock is 2 mhz. work around: when a 10 bit conversion accuracy is required, use an adc clock of 1 mhz or below. at 2 mhz the adc can be used as a 7 bits adc. 3. dac driver linearity above 3.6v with 5v vcc, the dac driver linearity is poor when dac output level is above vcc-1v. at 5v, dac output for 1023 will be around 5v - 40mv.
20 4317ks?avr?03/2013 at90pwm2/3/2b/3b work around: . use, when vcc=5v, vref below vcc-1v. or, when vref=vcc=5v, do not uses codes above 800. 4. dac update in autotrig mode if the cpu writes in dach regist er at the same instant that the selected trigger source occurs and dac auto trigger is enabled, the dach register is not updated by the new value. work around: . when using the autotrig m ode, write twice in the dach regi ster. the time between the two cpu writes, must be different than the trigger source frequency.
21 4317ks?avr?03/2013 at90pwm2/3/2b/3b 8. errata 8.1 at90pwm2&3 rev. a (mask revision) ? pgm: pscxrb fuse ? psc: prescaler ? psc: paocna and paocnb register bits (asynchronous output control) ? psc: pevxa/b flag bits ? psc: output polarity in centered mode ? psc: output activity ?vref ?dali ? dac: register update ? dac: output spikes ? dac driver: output voltage linearity ? adc: conversion accuracy ? analog comparator: offset value ? analog comparator: output signal ? psc: autolock modes ? dali: 17th bit detection ? psc: one ramp mode with psc input mode 8 1. pgm: pscnrb fuse the use of pscnrb fuse ca n make the parallel isp fail. workaround: when pscnrb fuses are used, use the serial programming mode to load a new program version. 2. psc: prescaler the use of psc's prescaler have the following effects: it blocks the sample of psc inputs until the two first cycles following the set of psc run bit. a fault is not properly transferred to other (slave) psc. workaround : clear the prescaler pprex bit when stopping the psc (prun = 0), and set them to appropri- ate value when starting the psc (prun = 1), these bits are in the same pctl register do not use the prescaler when a fault on one psc should affect other psc?s 3. psc: paocna and paocnb register bits (asynchronous output control) these register bits are malfunctioning. workaround: do not use this feature. 4. psc: pevna/b flag bits these flags are set when a fault arises, but c an also be set again during the fault itself. workaround: don't clear these flags before the fault disappears.
22 4317ks?avr?03/2013 at90pwm2/3/2b/3b 5. psc: output polarity in centered mode in centered mode, pscoutn1 outputs are not inve rted, so they are active at the same time as pscoutn0. workaround: use an external inverter (or a driver with inverting output) to drive the load on pscoutn1. 6. psc: poacna/b output activity these register bits are not implemented in rev a. workaround: do not use this feature. 7. vref remark: to have internal vref on aref pin select an internal analog feature such as dac or adc. some stand by power consuption may be observed if vref equals avcc 8. dali some troubles on dali extension when edges are not symmetric. workaround: use an optocoupler providing symmetric edges on rx and tx dali lines (only recom- manded for software validation purpose). 9. dac: register update registers dacl & dach are not written when the dac is not enabled. workaround: enable dac with daen be fore writing in dacl & dach. to prevent an unwanted zero out- put on dac pin, enable dac output, with daoe afterwards. 10. dac : output spikes during transition between two codes, a spike may appears work around: filter spike or wait for steady state no spike appears if the 4 last signifiant bits remain zero. 11. dac driver: output voltage linearity the voltage linearity of the da c driver is limited when the dac output goes above vcc - 1v. work around: do not use avcc as vref ; internal vref gives good results 12. adc : conversion accuracy the conversion accuracy degrades when the adc clock is 1 & 2 mhz. work around: when a 10 bit conversion accuracy is required, use an adc clock of 500 khz or below. 13. analog comparator: offset value the offset value increases when the common mode voltage is above vcc - 1.5v. work around: limit common mode voltage
23 4317ks?avr?03/2013 at90pwm2/3/2b/3b 14. analog comparator: output signal the comparator output toggles at the comparator clock freq uency when the voltage differ- ence between both inputs is lowe r than the offset. this may occur when comparing signal with small slew rate. work around: this effect normally do not impact the psc, as the transition is sampled once per psc cycle be careful when using the comparator as an interrupt source. 15. psc : autolock mode this mode is not properly handled when clkpsc is different from clk io. work around: with clkpsc equals 64/32 mh z (clkpll), use lock mode 16. dali : 17th bit detection 17th bit detection do not occurs if the signal arrives after the sampling point. workaround: use this feature only for sofware de velopment and not in field conditions 17. psc : one ramp mode with psc input mode 8 the retriggering is not properly handled in this case. work around: do not program this case. 18. psc : desactivation of outputs in mode 14 see ?psc input mode 14: fixed frequency edge retrigger psc and disactivate output? on page 156. work around: do not use this mode to deactivate output if retrigger event do not occurs during on-time. 8.2 at90pwm2b/3b ? psc : double end-of-cycle interrupt request in centered mode ? adc : conversion accuracy 1. psc : double end-of-cycle interrupt request in centered mode in centered mode, after the ?expected? end-of-cycle interrupt, a second unexpected inter- rupt occurs 1 psc cycle after the previous interrupt. work around: while cpu cycle is lower than psc clock, th e cpu sees only one interrupt request. for psc clock period greater than cpu cycle, the second interrupt request must be cleared by software. 2. adc : conversion accuracy the conversion accuracy degrades when the adc clock is 2 mhz. work around: when a 10 bit conversion accuracy is required, use an adc clock of 1 mhz or below. at 2 mhz the adc can be used as a 7 bits adc. 3. dac driver linearity above 3.6v with 5v vcc, the dac driver linearity is poor when dac output level is above vcc-1v. at 5v, dac output for 1023 will be around 5v - 40mv.
24 4317ks?avr?03/2013 at90pwm2/3/2b/3b work around: use, when vcc=5v, vref below vcc-1v. or, when vref=vcc=5v, do not uses codes above 800. 4. dac update in autotrig mode if the cpu writes in dach regist er at the same instant that the selected trigger source occurs and dac auto trigger is enabled, the dach register is not updated by the new value. work around: when using the autotrig m ode, write twice in the dach regi ster. the time between the two cpu writes, must be different than the trigger source frequency.
atmel corporation 1600 technology drive san jose, ca 95110 usa tel: (+1) (408) 441-0311 fax: (+1) (408) 487-2600 www.atmel.com atmel asia limited unit 01-5 & 16, 19f bea tower, millennium city 5 418 kwun tong roa kwun tong, kowloon hong kong tel: (+852) 2245-6100 fax: (+852) 2722-1369 atmel munich gmbh business campus parkring 4 d-85748 garching b. munich germany tel: (+49) 89-31970-0 fax: (+49) 89-3194621 atmel japan g.k. 16f shin-osaki kangyo bldg 1-6-4 osaki, shinagawa-ku tokyo 141-0032 japan tel: (+81) (3) 6417-0300 fax: (+81) (3) 6417-0370 ? 2013 atmel corporation. all rights reserved. / rev.: 4317ks?avr?03/2013 atmel ? , atmel logo and combinations thereof, enabling unlimited possibilities ? , and others are registered trademarks or trademarks of atmel corporation or its subsidiaries. other terms and product names may be trademarks of others. disclaimer: the information in this document is provided in co nnection with atmel products. no lic ense, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atmel products. exc ept as set forth in the atmel terms and conditions of sales locat ed on the atmel website, atmel assumes no liability whatsoever and disclaims any express, implied or statutory warranty relating to its products including, but not li mited to, the implied warranty of merchantability, fitness for a particular purpose, or non-infringement. in no event shall atmel be liable for any d irect, indirect, consequential, punitive, special or incide ntal damages (including, without limitation, damages for loss and profits, business i nterruption, or loss of information) arising out of the us e or inability to use this document, even if at mel has been advised of the possibility of suc h damages. atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the ri ght to make changes to specifications and products descriptions at any time without notice. atmel does not make any commitment to update th e information contained herein. un less specifically provided oth erwise, atmel products are not suitable for, and shall not be used in, automotive applications. atmel products are not intended, authorized, or warranted for use as components in applications intend ed to support or sustain life.


▲Up To Search▲   

 
Price & Availability of AT90PWM2B-14

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X